package org.jeecg.modules.solitaire_app.app.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 车辆轨迹订单
 * @Author: jeecg-boot
 * @Date:   2023-11-30
 * @Version: V1.0
 */
@Data
@TableName("ysy_driving_track")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ysy_driving_track对象", description="车辆轨迹订单")
public class YsyDrivingTrack {
    
	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
	private String id;
	/**所属用户*/
	@Excel(name = "所属用户", width = 15)
    @ApiModelProperty(value = "所属用户")
	private String userId;
	/**装货地经度*/
	@Excel(name = "装货地经度", width = 15)
    @ApiModelProperty(value = "装货地经度")
	private String zhdLat;
	/**装货地纬度*/
	@Excel(name = "装货地纬度", width = 15)
    @ApiModelProperty(value = "装货地纬度")
	private String zhdLng;
	/**装货地详细地址*/
	@Excel(name = "装货地详细地址", width = 15)
    @ApiModelProperty(value = "装货地详细地址")
	private String zhdAddress;
	/**卸货地经度*/
	@Excel(name = "卸货地经度", width = 15)
    @ApiModelProperty(value = "卸货地经度")
	private String xhdLat;
	/**卸货地维度*/
	@Excel(name = "卸货地维度", width = 15)
    @ApiModelProperty(value = "卸货地维度")
	private String xhdLng;
	/**卸货地详细地址*/
	@Excel(name = "卸货地详细地址", width = 15)
    @ApiModelProperty(value = "卸货地详细地址")
	private String xhdAddress;
	/**车牌号*/
	@Excel(name = "车牌号", width = 15)
    @ApiModelProperty(value = "车牌号")
	private String carNo;
	/**油品*/
	@Excel(name = "油品", width = 15)
    @ApiModelProperty(value = "油品")
	private String oilType;
	/**油号*/
	@Excel(name = "油号", width = 15)
    @ApiModelProperty(value = "油号")
	private String oilNo;
	/**验证车辆行驶证*/
	@Excel(name = "验证车辆行驶证", width = 15)
    @ApiModelProperty(value = "验证车辆行驶证")
	private String drivingNo;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**状态：1-待付款，2-已付款，3-查询失败，4-查询成功*/
	@Excel(name = "状态：1-待付款，2-已付款，3-查询失败，4-查询成功", width = 15)
    @ApiModelProperty(value = "状态：1-待付款，2-已付款，3-查询失败，4-查询成功")
	private Integer status;
	/**消耗服务次数*/
	@Excel(name = "消耗服务次数", width = 15)
    @ApiModelProperty(value = "消耗服务次数")
	private Integer serviceNo;
	/**剩余次数*/
	@Excel(name = "剩余次数", width = 15)
    @ApiModelProperty(value = "剩余次数")
	@TableField(exist = false)
	private Integer drivingTrackNo;

	@TableField(exist = false)
	private String phone;

	@TableField(exist = false)
	private String userName;
	@TableField(exist = false)
	private String realName;
}
